package org.dllwh.mybatis.controller;

import org.dllwh.mybatis.mapper.SysAreaInfoMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 把今天最好的表现当作明天最新的起点．．～
 * <p>
 * Today the best performance as tomorrow the newest starter!
 *
 * @ClassName MybatisPlusController
 * @Description TODO(这里用一句话描述这个类的作用)
 * @Author: <a href="mailto:duleilewuhen@sina.com">独泪了无痕</a>
 * @Date 2025-04-17 22:36
 * @版本 V 1.0.1
 * @see <a href="">TODO(连接内容简介)</a>
 * @since JDK 17
 */
@Controller
public class MybatisPlusController {
    @Autowired
    private SysAreaInfoMapper sysAreaInfoMapper;

    @RequestMapping("/test")
    public void testSelect() {
        System.out.println(("----- selectAll method test ------"));
        sysAreaInfoMapper.selectList(null).forEach(System.out::println);
    }
}
